using System;
using Taimila.Entify.Attributes;

namespace Taimila.Entify.UnitTests
{
	[Entity]
	public class EntityWithDateTimeRangeValidator : Entity
	{	
		[DateTimeRangeValidator("2009-01-01T00:00:00", "2009-12-31T00:00:00")]
		[EntityProperty(PersistentName = "RangedDateTime")]
		public DateTime RangedDateTime
		{
			get;
			set;
		}
	}
}

